package com.meitianhui.convenitenbuy.main.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.main.model.bean.CollectedStores;
import com.meitianhui.convenitenbuy.main.model.bean.UpdateBean;
import com.meitianhui.convenitenbuy.main.model.bean.VersionInfo;
import com.meitianhui.convenitenbuy.module.home.model.bean.BannerBean;

public interface MainContract {

    interface View extends BaseView<Presenter> {

        void getAdSuccess(BannerBean bannerBean);

        void getVersionSuccess(VersionInfo versionInfo);

        void getUpdateInfoSuccess(UpdateBean updateBean);

        void getDefaultStoresSuccess(CollectedStores collectedStores);

        void showRedPacketSucc(String data, String gift_value);

        void showRedPacketFail(String msg);

        void openRedPacketSucc(String gift_value);

        void showFail(String msg);
    }

    interface Presenter extends BasePresenter {

        void getAd();

        void getVersion();

        void getUpdateInfo();

        void getDefaultStores();

        void getRedpacket(String redChange);

        void openRedPacket(String detail_id, String gift_value);
    }

}
